<!DOCTYPE html>
<html lang="en" manifest="header.appcache">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="author" content="chinadangmai.com">
    <meta name="description" content=" ">
    <meta name="keywords" content=" ">
    <meta http-equiv="Access-Control-Allow-Origin" content="*">
    <title>首页- </title>
    <script src="js/edition.js"></script>   
    <link rel="stylesheet" href="css/base.css">
    <script>
       document.write("<l"+"ink rel='stylesheet' href='css/index.css?version="+edition+"'>")
    </script>
    <link rel="stylesheet" href="css/popover.css">
    <script src="js/jquery.js"></script>
    <script src="js/template.js"></script>
    <script src="js/jquery.SuperSlide.2.1.1.js"></script>
    <script src="js/popover.js"></script>
    <script src="js/jquery.cookie.js"></script>  
    <script> 
       document.write("<s"+"cript type='text/javascript' src='js/url.js?version="+edition+"'></scr"+"ipt>"); 
    </script>
    <script> 
       document.write("<s"+"cript type='text/javascript' src='js/index.js?version="+edition+"'></scr"+"ipt>"); 
    </script>
    <script> 
       document.write("<s"+"cript type='text/javascript' src='js/index_header.js?version="+edition+"'></scr"+"ipt>"); 
    </script>
    <script src="js/index_floor.js"></script>
    <script src="js/index_foot.js"></script>
    <script src="js/popover.js"></script>
    <script src="js/jquery.lazyload.min.js"></script>
    <script> 
       document.write("<s"+"cript type='text/javascript' src='js/login.js?version="+edition+"'></scr"+"ipt>"); 
    </script>    
    <script src="js/cookie.js"></script>  
    <script type="text/javascript"
    src="http://qzonestyle.gtimg.cn/qzone/openapi/qc_loader.js" charset="utf-8" data-callback="true"></script>
    <script src="js/nav_hover.js"></script>
</head>
<body>
    <input type="hidden" class="nav_num" name="" value="1">    
    <header class="mod_head"><!-- 顶部内容 --></header>
    <!-- 导航条 start -->
    <!-- 导航条 end -->
    <!-- 楼层导航 start -->
    <div class="mod_sidemenu" id="sideMenu">
        <div class="sidemenu_tit"><i></i><span>导航</span></div>
        <ul><!-- 楼层导航 --></ul>
        <!-- 楼层导航模板 -->
        <script id="sideMenuTpl" type="text/html">
            {{ for (var i=0; i < sideMenuList.length;i++) { }}
                <li class="f{{=sideMenuList[i].index}}" data-target="f{{=sideMenuList[i].index}}"><span>{{=sideMenuList[i].index}}F</span><span>{{=sideMenuList[i].categoryName}}</span><i></i></li>
            {{ } }}
        </script>
    </div>
    <!-- 楼层导航 end -->
    <!-- 右边固定条 start -->
    <div class="mod_sidebar">
        <div class="sidebar_wrap">
            <div class="sidebar_cont">
                <!-- <a class="ad" href="javascript:;"><i></i><span>活动广告</span></a> -->
                <!--<a class="customer_service" href="tencent://message/?uin=2151577512&Site=http://vps.shuidazhe.com&Menu=yes"><i></i><span>客服</span></a>-->
                <a class="cart" href="src/cart/cart.html"><i></i><span>购物车</span></a>
                <a class="collection" href="src/member/member_favorites.html" style="padding-top: 28px;"><i></i><span>收藏</span></a>
                <!--<a class="follow_us" href="javascript:;"><i></i><span>关注我们</span></a>-->
                <!--<div class="follow_us_bg">
                    <div class="follow_us_wrap">
                        <div class="fu_01"><img src="img/qrcode/weibo.jpg" alt=""><p>官方微博</p></div>
                        <div class="fu_02"><img src="img/qrcode/weixin.jpg" alt=""><p>官方微信</p></div>
                        <div class="sanjiao"></div>
                    </div>
                </div>-->
            </div>
            <a href="javascript:0;" class="mod_totop" id="toTop"><i></i><span>返回顶部</span></a>
        </div>
    </div>
    <script>
        $(function(){
            // 鼠标移入、移出 关注我们 显示隐藏二维码
            $('.follow_us').mouseover(function(){
                $('.follow_us_bg').css('display','block');
            });
            $('.follow_us').mouseout(function(){
                $('.follow_us_bg').css('display','none');
            });
        });
    </script>
    <!-- 右边固定条 end -->
    <!-- 主体内容 start -->
    <div class="mod_main">
        <div class="mod_top">
            <!-- nav Start -->

            <!-- banner start -->
            <div class="mod_banner">
                <div class="hd">
                    <ul><!-- 轮播图 --></ul>
                </div>
                <div class="bd">
                    <ul><!-- 轮播图小点 --></ul>
                </div>
                <!-- 轮播图前后按钮 -->
                <a class="prev" href="javascript:void(0)"></a>
                <a class="next" href="javascript:void(0)"></a>    
            </div>
            <script id="bannerTop" type="text/html">
                {{ for(var b=0;b<bannerList.length;b++){ }}
                    <li><a href="{{=bannerList[b].jumpUrl}}" target="_blank"><img src="{{=bannerList[b].imgLink}}"></a></li>
                {{ } }}
            </script>
            <script id="bannerHd" type="text/html">
                {{ for(var i=0;i<bannerHdList.length;i++){ }}
                    <li>{{=bannerHdList[i].index}}</li>
                {{ } }}
            </script>
            <!-- banner end -->
        </div>

        <!-- 企业宣传广告 start -->
        <div class="mod_ad_banner" id="mod_ad_banner"></div>
        <script id="modAdBanner" type="text/html">
            {{ for(var b=0;b<AdBannerList.length;b++){ }}
                <a href="{{=AdBannerList[b].jumpUrl}}" target="_blank"><img src="{{=AdBannerList[b].imgLink}}" title="{{=AdBannerList[b].title}}"></a>
            {{ } }}
        </script>
        <!-- 企业宣传广告 end -->
        
        <!-- 商品楼层 start -->
        <div class="mid_content">
            <div class="floor1 mod_floor hidd"></div>
            <div class="floor1 mod_floor hidd"></div>
            <div class="floor1 mod_floor hidd"></div>
        </div>
        <!-- 楼层整体框架模板 -->
        <script id="modFloor" type="text/html">
            {{ for( var i=0;i < floorList.length;i++){ }}
                <div class="floor mod_floor" id="f{{=floorList[i].index}}" data-floor-id="{{=floorList[i].index}}F" data-floor-name="{{=floorList[i].categoryName}}">
                    <div class="mod_floor_tit">
                        <span>{{=floorList[i].index}}F&nbsp;&nbsp;{{=floorList[i].categoryName}}</span>
                    </div>
                    <div class="mod_floor_content">
                        <div  class="floor_ad"></div>
                        <div class="floor_content">
                            <ul class="floor_goods">
                                
                            </ul>
                            <div class="mod_floor_brand" id="mod_floor_brand{{=floorList[i].index}}">
                                <a class="prev" href="javascript:void(0)"></a>
                                <div class="bd">
                                    <ul></ul>
                                </div>
                                <a class="next" href="javascript:void(0)"></a>
                            </div>
                        </div>
                    <div>
                <div>
            {{ } }}
        </script>
        <!-- 楼层商品显示模板 -->
        <script id="floorGoods" type="text/html">
            {{ for( var i=0;i < floorGoodsList.length;i++){ }}
                <li>
                    <a href="src/goods/goods_detail.html?goodsId={{=floorGoodsList[i].goodsId}}" title="{{=floorGoodsList[i].name}}" target='_blank'>
                        <div class="floor_goods_img"><img src="{{=floorGoodsList[i].goodsImg}}"></div>
                        <span class="floor_goods_name">{{=floorGoodsList[i].name}}</span>
                        <span class="floor_goods_price">
                            <label>￥{{=floorGoodsList[i].unitPrice}}</label>
                            <del>￥{{=floorGoodsList[i].marketPrice}}</del>
                        </span>
                    </a>
                </li>
            {{ } }}
        </script>
        <!-- 楼层左边小广告 -->
        <script id="leftAdv" type="text/html">
            {{ for( var i=0;i < leftAdvList.length;i++){ }}
                <a href="javascript:;" class="{{=leftAdvList[i].categoryId}}"><img src="{{=leftAdvList[i].leftAdvImg}}"></a>
            {{ } }}
        </script>
        <!-- 楼层品牌 -->
        <script id="floorBrand" type="text/html">
            {{ for( var i=0;i < floorBrandList.length;i++){ }}
                <li><a title="{{=floorBrandList[i].BrandName}}" href="src/search/search_list.html?keyword={{=floorBrandList[i].BrandName}}"><img src="{{=floorBrandList[i].brandPic}}" /></a></li>
            {{ } }}
        </script>
        <!-- 商品楼层 end -->

        <script>
            $(function(){
                $('.mod_case li').click(function(){
                    kf();   // 正在开发中
                });
            })
        </script>
        <!-- 优秀案例 end -->

        <!--  动态模板 -->
        <script id="aboutDt" type="text/html">
            {{ for( var i=0;i < aboutDtList.length;i++){ }}
                <li><a href="javascript:;" class="kfing">{{=aboutDtList[i].title}}</a></li>
            {{ } }}
        </script>
        <script id="aboutZs" type="text/html">
            {{ for( var i=0;i < aboutZsList.length;i++){ }}
                <li><a href="javascript:;" class="kfing">{{=aboutZsList[i].title}}</a></li>
            {{ } }}
        </script>
        <!-- 关于  & 联系我们 end -->
    </div>

    <!-- 主体内容 end -->
    <!-- 网站底部 start -->
    <footer class="mod_foot"></footer>
    <script>
        $(function(){
            $('.footer_ul a').each(function(){
                var newHref = $(this).attr('href');
                if(newHref!='javascript:;'){
                    $(this).attr('href','src'+newHref);
                }
            })
        });
    </script>
    <!-- 网站底部 end -->
    <script type="text/javascript">
        $(function(){
            // 轮播图配置
            $(".mod_banner").slide({mainCell:".bd ul",easing:"linear",effect:"left",delayTime:1000,autoPlay:true});
            $('.to_top').remove();      // 移除 返回顶部箭头 
        }); 
        $(".kfing").click(function(){ 
            kf(); 
        }); 
        $(function(){ 
          $('.mod_menu_list').show(); 
        }); 
    </script> 
</body> 
</html> 
<script> 
    $(function(){ 
        var url=window.location.href; 
        var code=url.split('?code=')[1]; 
        if(code!=undefined){ 
            var new_code=code.split('&')[0]; 
            $.ajax({ 
                url:new_url+'shop/oauth/oauthLogin', 
                type:'post', 
                data:{oauthType:'1',code:new_code}, 
                dataType:'json', 
                success:function(e){ 
                    if(e.code=='2007'){ 
                        tc(e.message);
                        window.location.href='src/login/binding.html?oauthId='+e.data.oauthId; 
                    }  
                    if(e.code=='0'){ 
                        tc(e.message); 
                        var mycars = new Array(); 
                        mycars[0] = e.data.name; 
                        mycars[1] = e.data.nickName; 
                        mycars[2] = e.data.phone; 
                        mycars[3] = e.data.avatar; 
                        mycars[4] = e.data.truename; 
                        mycars[5] = e.data.memberId; 
                        mycars[6] = e.data.token; 
                        mycars[7] = 
                        $.cookie('user',mycars,{path:'/'}); 
                        window.history.go(-1); 
                        return false; 
                    } 
                } 
            }); 
        } 
    }); 
</script> 